package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 老人护理管理对象 check_in_nurse_record
 *
 * @author ruoyi
 * @date 2023-02-15
 */
public class CheckInNurseRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 动态库老人的主键 */
    private Long personId;

    /** 长者姓名 */
    @Excel(name = "长者姓名")
    private String elderName;

    /** 长者身份证号码 */
    @Excel(name = "长者身份证号码")
    private String identityNo;

    /** 员工的id */
    @Excel(name = "员工的id")
    private Long empId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String empName;

    /** 员工手机号 */
    @Excel(name = "员工手机号")
    private String empPhone;

    /** 护理项目类型 */
    @Excel(name = "护理项目类型")
    private Long nurseType;

    /** 护理项目名称 */
    @Excel(name = "护理项目名称")
    private String nurseName;

    /** 服务开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nurserStartTime;

    /** 服务结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nurserEndTime;

    /** 服务费用 */
    @Excel(name = "服务费用")
    private BigDecimal serviceCost;

    /** 时长(分钟) */
    @Excel(name = "时长(分钟)")
    private Long min;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 床位id */
    private Long bedId;

    /** 床位全称 */
    private String bedName;

    /** 入住id */
    private Long checkInId;

    /** 部门id */
    private Long deptId;

    /** 第一个父类部门id */
    private Long deptFirstParentId;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 用户ID */
    private Long userId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPersonId(Long personId)
    {
        this.personId = personId;
    }

    public Long getPersonId()
    {
        return personId;
    }
    public void setElderName(String elderName)
    {
        this.elderName = elderName;
    }

    public String getElderName()
    {
        return elderName;
    }
    public void setIdentityNo(String identityNo)
    {
        this.identityNo = identityNo;
    }

    public String getIdentityNo()
    {
        return identityNo;
    }
    public void setEmpId(Long empId)
    {
        this.empId = empId;
    }

    public Long getEmpId()
    {
        return empId;
    }
    public void setEmpName(String empName)
    {
        this.empName = empName;
    }

    public String getEmpName()
    {
        return empName;
    }
    public void setEmpPhone(String empPhone)
    {
        this.empPhone = empPhone;
    }

    public String getEmpPhone()
    {
        return empPhone;
    }
    public void setNurseType(Long nurseType)
    {
        this.nurseType = nurseType;
    }

    public Long getNurseType()
    {
        return nurseType;
    }
    public void setNurseName(String nurseName)
    {
        this.nurseName = nurseName;
    }

    public String getNurseName()
    {
        return nurseName;
    }
    public void setNurserStartTime(Date nurserStartTime)
    {
        this.nurserStartTime = nurserStartTime;
    }

    public Date getNurserStartTime()
    {
        return nurserStartTime;
    }
    public void setNurserEndTime(Date nurserEndTime)
    {
        this.nurserEndTime = nurserEndTime;
    }

    public Date getNurserEndTime()
    {
        return nurserEndTime;
    }
    public void setServiceCost(BigDecimal serviceCost)
    {
        this.serviceCost = serviceCost;
    }

    public BigDecimal getServiceCost()
    {
        return serviceCost;
    }
    public void setMin(Long min)
    {
        this.min = min;
    }

    public Long getMin()
    {
        return min;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setBedId(Long bedId)
    {
        this.bedId = bedId;
    }

    public Long getBedId()
    {
        return bedId;
    }
    public void setBedName(String bedName)
    {
        this.bedName = bedName;
    }

    public String getBedName()
    {
        return bedName;
    }
    public void setCheckInId(Long checkInId)
    {
        this.checkInId = checkInId;
    }

    public Long getCheckInId()
    {
        return checkInId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDeptFirstParentId(Long deptFirstParentId)
    {
        this.deptFirstParentId = deptFirstParentId;
    }

    public Long getDeptFirstParentId()
    {
        return deptFirstParentId;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personId", getPersonId())
            .append("elderName", getElderName())
            .append("identityNo", getIdentityNo())
            .append("empId", getEmpId())
            .append("empName", getEmpName())
            .append("empPhone", getEmpPhone())
            .append("nurseType", getNurseType())
            .append("nurseName", getNurseName())
            .append("nurserStartTime", getNurserStartTime())
            .append("nurserEndTime", getNurserEndTime())
            .append("serviceCost", getServiceCost())
            .append("min", getMin())
            .append("status", getStatus())
            .append("bedId", getBedId())
            .append("bedName", getBedName())
            .append("checkInId", getCheckInId())
            .append("deptId", getDeptId())
            .append("deptFirstParentId", getDeptFirstParentId())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
